added commmand line arguments for addr:port