Added example of shell handling to sretrieve