added ENV condition to iniit script