updated document
updated jpeg sample script
updated jpeg sample script