remove libs and modify agent to get server ip in parameter