Fixed binary bug, added parameters to supply IP address and port