File copy doesn't work first run

The intent is to create data files if they don't exist. Either for first install or if deleted by accident or to reset to default. The problem is that it doesn't work on first run. If you exit and restart the program, the second time all files are created. What's wrong here?

Permission can be the issue because Ask for Permission block works asynchronously.

sooo, what does that mean and how do I fix it?

Put this

grafik

in:
grafik

and add this block:

grafik

ahhhhh. Because "AskForPermission" doesn't REALLY ask until after the all the other commands in the queue. I know to watch for that in some situations, but it got me again.