create cfg folder only if the ui is actually loaded