Added error handling.  Added exec safety.