Prepare for WMS import