Set up actions for reverts