first version of upstart script