fix specification.yaml output and put zipped files in directory