New version 1.2

Added --generate-config option.
Minor bug fix.
Tested with BTS 1.4.99.