updated sed commands with |

since we're passing path's in sed the / in the path's are messing with the sed command so we need to change the sed delimiter from / to | so it doesn't get confused with the paths in the variables.