added check to runExt