Replaced shell.run with os.run, because the shell api doesn't seem to be available to apis