put hook script in correct place