b4d6c35
wait for sync agreement to be ready before starting Added checking for error status - Added maxtries so that the script won't wait forever if there is something wrong