somewhat improved snippet-maker.py