def _fix_sys_argv(script_path, args):
    """sys.argv needs to exclude huajiweb arguments and parameters
    and be set to what a user's script may expect.
    """
    import sys
    sys.argv = [script_path] + list(args)
