hacky way of getting env variable debugging working