Catch all hook