Added feature to automagically add databases in a directory