Small changes to pull model out of terrplant_output