building catalog and input.txt files by batch, to allow easier updates