added the after_use_textmate hook