Fixed server to finally run in production mode