worked more on config, untested, no clue if it runs. still more work to be done.