Thanks @James-Carroll . Based on your previous answer I did some searching and found that another option seems to be:
It doesn’t say where exactly the mkdir should be placed - but it sounded like a solution as it doesn’t depend on a user folder.
I will try out both your suggestion and this.