[cloud] + SessionRecord lua scripts