added more user-friendliness in options and error messages