separate lrtemplate loading to own script
separated xmp generator to own file