Replace hook library info

Also fix #1 too.