I had to lookup how to do hookscripts today, and came across this excellent article with explicit directions.