Database Script edit