public void run(){
		if(! hasStarted()){
			videoRefIdName = getFirstPropertyValue("video-reference-id-prop");
			
			batchUsername  = getFirstPropertyValue("batch-username");
			batchPassword  = getFirstPropertyValue("batch-password");
			publisherId    = getFirstPropertyValue("publisher-id");
			preparer       = getFirstPropertyValue("preparer");
			notifyEmail    = getFirstPropertyValue("notification-email");
			
			if(videoRefIdName == null){
				die("'video-reference-id-prop' must be specified to the VideoCloudReEncodeFromExistingSource actor.");
			}
			
			if((batchUsername == null) || (batchPassword == null)){
				die("'batch-username' and 'batch-password' must be specified to the VideoCloudReEncodeFromExistingSource actor.");
			}
			
			if(publisherId == null){
				die("'publisher-id' must be specified to the VideoCloudReEncodeFromExistingSource actor.");
			}
			
			if(preparer == null){
				die("'preparer' must be specified to the VideCloudReEncodeFromExistingSource actor.");
			}
			
			if("TRUE".equalsIgnoreCase(getFirstPropertyValue("overwrite-images"))){
				overwriteImages = true;
			}
			else{
				overwriteImages = false;
			}
			
			if("TRUE".equalsIgnoreCase(getFirstPropertyValue("preserve-source-as-rendition"))){
				preserveSource = true;
			}
			else{
				preserveSource = false;
			}
		}
		
		super.run();
	}