The script given in the answer to this question works perfectly when running from a local drive accessible to both the normal user and the administrator.
However, when run from a network drive (which is a very real possibility in University environments) it runs into file not found issues.
Does anybody have an idea how to fix this?