public List<ConversionMessage> run(PageLayout layout, boolean checkOnly) {
		List<ConversionMessage> messages = new ArrayList<ConversionMessage>();
		
		//Regions
		for (ContentIterator it = layout.iterator(null); it.hasNext(); ) {
			Region reg = (Region)it.next();
			
			//Primary and secondary Script
			if (reg.getType().equals(RegionType.TextRegion)) { 

				Variable v = reg.getAttributes().get("primaryScript");
				if (v != null && v.getValue() != null)
					convertScript((StringValue)v.getValue(), checkOnly, messages);

				v = reg.getAttributes().get("secondaryScript");
				if (v != null && v.getValue() != null)
					convertScript((StringValue)v.getValue(), checkOnly, messages);
			}
		}
		
		return messages;
	}