Folding plugin