Added in some build specific methods for connecting to a sql db.