Use relative path for replace