WOW, that link contains both an incredibly simple and incredibly complicated answer, both look awesome. I'm going to start with adding a sleep timeout to my script, then move onto the more complicated one which waits for OScustomization to complete successfully.
Many thanks!