Fixed erb file to have correct env variable