Tortoise: fix Shell so it works if you define procedures