replaceContent to lib/