Hopefully someone must know this one and I can answer my other question. Launchagent attempts to load my script too quickly and thus it fails - I've set its nice to 20 and everything else to the end but still, when creating accounts its too quick.
The script invokes
Try out this tool: https://github.com/kadwanev/retry
retry -t 1000 -e cliclick -h
check exit code to see if it succeeded at all after all retries...