Add hook finish:before