fixed runExt command for use with gui