rework the configs. todo: rework the script to follow