Added ability to change port number