Add dependency check on upstart