run server on startup