Updated Metadata
correct bug in error handling that caused an incorrect exit code to be returned