adds multiple database support and parallel jobs