Added an option to retrieve the original template source