Support bind_ip and fix some paths