changing the scripts in order to be able to separately deploy to metro and osgrid