Added saving of scanner config