Adding variable substitution for params passed in to rc.