Revert "fix typo"

This reverts commit ec85b504430325c01aaa4bae9e82722626d4ee4a.
Revert "make recording hooks executable"

This reverts commit 27145e2fb156d695f7444c27cd216fd249d48c75.