Enhance sh snippet