based movement script on auto script