Read config from lua file