Client Code for lua