added database debug switching