refacter configuration