add directory for scans to config
implement image acquisition