Fix bugs in deployment scripts
Allow errors in test hos