You could just take command line arguments for the manifest files to process instead of hard-coded these.