Add option to select other than "default" database (like in syncdb)