Updated build script config copy to correct path and added check for config file existence