Change config dirs handling.