replaceInExtensions can be set by options