=add reduce db script