buildPlant.f90 restyled