adding hook after setup to install