Saving in Jpeg 2000 file format

Would anybody knows how to script to save in Jpeg 2000 file format from PhotoShop CS2?
And set the save options?

Many thanks
:expressionless: