shorter script - as suggested
shorter script - as suggested

you wanted it a little shorter  -  here is my try. I hope you like it. I have tested it and it seems to work.
openaps/oref0,openaps/oref0,openaps/oref0,PieterGit/oref0,openaps/oref0,PieterGit/oref0,PieterGit/oref0,PieterGit/oref0