Revert "update lua script to follow API change (bb459a2e7d)"