fix configuration generation and put new default configs