build and deploy script improved to appropriate catch and expose dependency retrieval failures.