fix(runner): allow onCleanUp script to export a function