Version 9.1

- Updated to include more advanced error checking
- Added logging