Replace script into config