add a rollback hook to run rollback-only tasks