Issue #013: Restores environment.rb to use ENV rather than hardcoded values.