Is there a way to automatically run a procedure each time a view is called / activated?