cog/Scripts/build_preferences.sh