version 1.2.2: new option to generate policy.json file