moves around order to fix dropdowns and etc
moves the code around again
moves order of requires