Trying to create a picture frame template for populating automatically

My query is a little like this one I think How to fit image in particular frame?
Which I understand that Bojan Živković helped with. Except I have a picture frame rather than a games box.
I have also tried to use .JJMack's PhotoCollageToolkit which looks as if may solve the problem but I am getting various error messages. When I try to use the Collage Template Builder I get this error message:
and when I just take the plunge and test the template with the TestCollageTemplate script I get this error message:
I am using PS CS6 only version 13.0 x64. I appreciate that it must have taken hours and hours to create something like this ToolKit and I am sure many many people have benefited from it.
Please excuse my extremely basic PS knowledge as I am new to this. I am sure there must be an easier way! If anyone can advise I'd really appreciate it as it would save me hours and hours of work. Thanks!


