fixed some stuff in the upstart script