updated to makde rm_caps_phrase consistent with other scripts