Changed shell commands to use lists rather than shell and string.