updated move script

an updated movement script