changed config generation