Add preferences file