replacement script path fixed