added backup functions for scans