Add in overwriteable before/afterhooks for custom functionality on run/code cycles