exec, remove, error handling everywhere