Add source and generated text