Hi Anton, I have tracked down the issue and have fixed it. Thank you very much for your comment, it led me in the right direction to track down the error and I've even created an exe file which works (at least on my computer!)