replaced script