Feature/config setup

this pull request fixes some multi-config bugs