adding a quiet flag, returns no output, only 0 for success, and 1 for error