database script changes