cwp and rsf scripts