change pattern format: comment line starts with "//" because python configparser likes eating ";"
trivial: remove many print(nonsense) to stdout