Add runtime on hook