Control analyses

Some changes, i don't remember exactly what, but the ones needed to produce the trees