Added support for sending db info as arguments