lw scanmode directives