sorted out main not running
added ip address cmd arg