Scripting MacCVS Pro

I have a script that will checkout module from CVS using the MacCVS Pro session. But my problem is how to specify the CVS Root as well as how to tag using the MacCVS Pro.

Here’s my script and need your help on how to implement the above mentioned requirements:

tell application "MacCVS Pro 3.0a3 (Carbon)" 
open file "Session(2005)" 
tell session "Session(2005)" 
checkout module "codes" revision " " 
end tell 
end tell