Updated test lua script