updated dc-generator to read from properties