added find-file and kill-buffer hooks