New script changes