It's beginning to make more sense now.
Then it seems that our recommendation for including problemRandomize.pl in the PGcourse.pl file should include a recommendation to load PGanswermacros.pl first in this PGcourse.pl file as I am now doing.
I was indeed getting errors right away in the problem set header files.
Thanks!
Paul