+
+# todo: move custom gcode to here
+# detect priming tower and inject reheat there
+
+# grab setting from the profile, add a tag at the end of postSwitch,
+# inject right before the move that sets E0
+
+# todo: use 2nd/3rd/etc extruder temp if available (arrays are alright...)
+printTemperature = float(profile.getProfileSetting('print_temperature'))
+coolTemperature = printTemperature - coolTemperatureDifference