dynamically create preferences file
fix changelog
fix spacing