Attempting to fix an issue with the install script to make it portable on mac os by replacing the readlink with a dirname command to obtain the directory where the scripts are located prior to the install process