database script changes - post review