load configs better