Fixed dump script for settings.