error-handling
merged exec.py