Get both ubuntu and sensu publish scripts working