Adding condition to importing configs