added preferences to config