Implement the run helper as a script