making db creation optional