add openAndClose script to test if DB ok