KOTA-120: Added check for env parameter