'Creates single script from a list of script parts.
:type raw_script: [basestring]
:rtype: basestring'

@staticmethod
def _prepare_script(raw_script):

    if six.PY2:
        script = '    '.join((arg.decode('utf-8') for arg in raw_script))
    else:
        script = '    '.join(raw_script)
    script = script.strip()
    return shell.from_shell(script)
