Fixed entry point script args bug.