add preferences file