separate new function into separate script for OMERO5.0__0