Shell version corrected to work on all 3.10.x.x