Thanks very much for your answer Daniel, I tried your advise (the immediate execution one) on a new project that I attach here. It worked the first time, but when I made the temp folder synchronized (folder properties, tab synchronize) the folder is not available even when the script is after Paths ...