adding support for slave database creation