applied some fixes
loading scripts from sqlite database using hibernate