Photoshop problem

Here’s is what I have and it was working:

set myOptions to {class:JPEG save options, embed color profile:false, format options:standard, matte:background color matte}
save in theThumbnailPath as JPEG with options myOptions appending lowercase extension

theThumbnailPath is an alias for "images/_thumbs/FILE BEING WORKED ON

Any help would be appreciated

tell application "Adobe Photoshop 7.0"
			open this_file showing dialogs never
set docRef to current document
set myJPEGOptions to {class:JPEG save options, embed color profile:true, format options:standard, quality:8}
with timeout of 600 seconds
				tell docRef
					save in file (JPEGdest_path as string) as JPEG with options myJPEGOptions appending lowercase extension without copying
				end tell
			end timeout
end tell