Added configuration option to control saving of metadata to disk (default: yes)