Make a better fold command with @dmpatierno's help