fix global autostart installation, and the pointer to it so it is run