fixing generator e adicionando config file