Calibrated, cosmological hydrodynamical simulations with variable IMFs I: method and effect on global galaxy scaling relations. Issue 4 (10th July 2018)