Rakefile env vars refactored