Remove get_detail
Change obsolete environment rule
Add return codes and special case for no errors
Update the README