fixed folder names, fixed backslash escaping for sed command