added ability to choose port from cli