[nim, james] #X parameterized staging script to work for any environment