More db_xxxx work. Played around with  guard to fix it. I think its something wrong with the OS configutation. Not the code. Added import_from method.