now using check_call to control flow http://docs.python.org/2/library/subprocess.html#subprocess.check_call