add support for getting env variables to launchd