read in preferences at start up