removed duplicate copying of settings file for each stage