Change socket to sys.argv