Fixes Rakefile to work with production env