added config generation