add a flag for switching between mac and linux.
update nodes server.