refactored startup scripts.
telnet server
telnet server.