move preferences over to a preferences file