Modifying hooks install script to work for multiple users.