changed to subprocess.call()