Refactored error, included version and copyright