subprocess instead of os.system