Update folding scripts