Josh explained how to make it better.

You don't need to touch the file and env should always be configured global.