lua: test script update