':param params: A two-elems list containing the name of the profile to
load and the original working directory.'

def _cmd_use(self, params):

    if (not params):
        om.out.console('Parameter    missing,    please    see    the    help:')
        self._cmd_help(['use'])
    else:
        profile = params[0]
        try:
            workdir = params[1]
        except IndexError:
            workdir = None
        try:
            self._w3af.profiles.use_profile(profile, workdir=workdir)
        except BaseFrameworkException as w3:
            om.out.console(str(w3))
        om.out.console('The    plugins    configured    by    the    scan    profile    have    been    enabled,    and    their    options    configured.')
        om.out.console('Please    set    the    target    URL(s)    and    start    the    scan.')
