another variation of the upstart script