expand variables in originate strings