Fixing spelling mistake and using better return status
Reordering how Delivery runs so you can install the database with a delivery