Converted system calls to sh