final tweaks to movement script