Do Lua stuff conditionally