fixed the folding for looping
commands now get passed transport
trying to figure out folding for growing loop sizes