Implemented -defaults, error handling, ...