Improved help message
Removed unnecessary trailing slash
Improved error handling