added top-level interpolation to sed_lib