Minor updates. Added option to alter template root directory.