More trigger stuff and a bit more authorization code.