and here's the script that i use. edit accordingly

There's a typo there, rop should be rom
Also, I would not recommend to reboot immediately after sync'ing, as this will wipe away all error messages from your screen, should there be any.

Pim