fixes upstart script.