Updated sourcemap replacements to chain