add autoupgrade script to autostart.