deploy: added env variable check, rename