added shell to LocalState so that it can make shell calls