Be careful here - if this returns false then env won't be initialized with anything...