Added tracing to exec