Changed the lua code from lua_handlers to lua, which accepts a block to be run at object instantiation time.