Hook installation now attempts to set the proper permissions. Also made small tweaks to the output