Changed machine_id to be random rather than hostname based.