changes to make passing the list of cnames as a java property