modified the way of launching the server