Fix settings load
Change server.js for OpenShift