Make the plan printer work in a non-interactive environment