Add writeScanex