more sed renaming of variables