Most slicers (including Cura) let you put start up GCode into the generated file. You want Cura to put a G28 followed by a G29 at the start of every file it generates.