This is just a copy of the gantry template framework to provide fixes to the origin at