Added error report system