code: public void setObjectAndLoadpath() {
  
  		StringProperty sname = StringProperty.getInstance(objectTemplate.name);
  
  		setGlobalVariable("OBJECT", sname, true);
  		setGlobalVariable("LOADPATH", new ListResource(), false);
  	}
docs: Set the name of the object template. Define the necessary variables.