Added route hook