Fixed error handling - possible to run bulk scripts in admin sql