Improvments to the hook install command.