STORM-80 : Added changes for pass env params to spawn