Added tool to automatically generate default_preferences file, should be
run before any new release