use shell commands instead of http module