check if env variable set (eventually moved to config file)