Updated the loadMacSHAPADB function so it works properly now.