- udpated to use environment variable