updated rc generation to use strings for paths