checking minimal env variables