only use mode_sudo when needed and make setup_upstart a dependancy of run_hactar() in update_hactar()