Move scripts to script directory
Restrict editor cursor motion fallback to pass tests