Added recovery of argv params to set manual environment variable