adds -w option to server