some script changes