script to restore backup mappings