Use hook finish:before