Change permissions to hook to be executable