hack out ubunut's upstart script