Updated official script

Made some changes from the official with fixes from test script for
moveBulk.