updated lua scripts