resolve a few issues with setting PATH and similar variables appropriately
resolve a few issues with setting PATH and similar variables appropriately


WIPACrepo/iceprod,WIPACrepo/iceprod,WIPACrepo/iceprod,WIPACrepo/iceprod