run server from command line flags