Adding Link to Advanced Search and moving 12factor gem to production only