moved scripts to script