Replace the variable with any given path