added option to choose embedded DB