Add -install-hook command line option