first working lua-support (only init function is called)