Remove unnecessary global variables

The variable `runner` causes the global scope pollution.