Modyfying method to get env variables in Barometer