better support for overwriting and restoring facilities. WIP #276