added option for splitting
includeAJson with exit code
can choose between several json files
new stdout for library copying