Removed the unnecessary call to exec.