new dynlight lua api