updates to shell chapters - make code sections work