modified subs_sed