Thanks to Oden Eriksson for the scan-dir idea!
