change shell run method