added local db configuration switch backuped db structure creatscript