move scripts to end for index and project 3