Simplified and fixed conf.erb