Fixed bug with initial generation of config