Moved databasescript