Many thanks to Alex, this is now working perfectly for me with the latest code from git. Richard -- Richard Palmer | Centre for E-Research & Systems Manager | Centre for Computing in the Humanities richard.d.palmer at kcl.ac.uk | King's College London Tel: 0207 848 1973