Add deployment script and refine error summary