changes to conf function