Tweaked add-commas snippet.