Condition flow scripts with lua.