Modify scripts and add file containing sqlite commands