make sure all scripts are created prior to running loadFile script.