Allow old or new style profile data to be used in main functions.
Made readProfileData an alias for readPD.