Improved error handling on required arguments
Fixed a typo