moving scripts to the bottom