Saving Quark6 to Quark5 ?

I’ve been trying to use this script to determine wether files dropped into a folder are Quark 6 files if so, the files are opened in Quark and they are supposed to be saved to Quark 5. But I can’t get the files to save after I open them. Any suggetions?


on adding folder items to this_folder after receiving added_items
	repeat with x in added_items
		tell application "Finder"
			
			copy file type of x as string to FileType
			display dialog FileType
			if FileType = "XPRJ" then
				set theList to the name of every process
				if application "QuarkXPress" is not in theList then
					tell application "QuarkXPress"
						activate
					end tell
				end if
				open x
				tell application "QuarkXPress"
					activate
					save document 1 in "Design06 X:Users:Admin:Desktop:PSTempOut" as file specification version vers 50
				end tell
				
			else
				display dialog "Wrong file type"
			end if
		end tell
		
	end repeat
	
	
	
	
end adding folder items to