added config for different modes WIP