Added more contidions for allready_configured