Enabled lua variable read/write support

Finally, now we can read and write variables!