Changed sys.stdin.read() to sys.argv[1]