adding priority to action hook