replace the source files