First version of script movement