Added a flag to enable/disable output of identical classes/resources and fixed sha256 generation for the target folder