updated a bunch o' things

Mostly working on AAS personalisation
Updated getDocList routine

Had accidentally deleted old version.
Have reinstated it in affected scripts.