Tidied up DeployDB using statements.