Your solution worked for my S510M. It doesn’t pick up the scan folder from preferences, but it does remember the last folder used.