revised run shell