barley cms hooks added