changes order of script load.