edited to make it work with the provenance.ecs.soton.ac.uk