read env sooner