Fixing version and error output