Modified example upload script. insertAfter in T.draw now inserts after T[0]