modified upstart script