putting nef location into hook.rb