Replacement Scripts changes