Updated for mechanics_printing flag.