Run folding on startup