set wmsimport as directive