Added sh input type
Changed order of arguments