script for starting/stopping server