Interactive function to create temporary hooks