moving scripts to bottom