smarter config.rb