Added preferences to config file