movement script works