Added sh list manipulation functions