Fixed missing packages
Improved error handling