replace the hardcoded after 2000, with waiting for the sync and wait for condition
Attach a file by drag & drop or click to upload