Managed to tweak one of the existing scripts enough so that it did what I wanted (largely the existing "add Custom Files" script) - thanks to Misty for having a nicely set out script to follow.
Its probably not too elegant, but its doing the job. Not sure why the dependencies.USER.ADDED.txt file didn't work for me, but think that gets me around the immediate problem.
thanks