change run code

Signed-off-by: Ross Gallagher <ross_gallagher@rossgallagher.co.uk>