add astar in lua script