Database/merge scripts