move scripts to the bottom