Extract codes to generate search folders automatically
Don't create search folder for not-configured definitions