remove superfluous routine runcommand