moved scripts to files