Added system out to check the error logs.