prototype-add-hook script