Scripting Quark 6.1 - Duplicate issue

Hi all!
I have this script, that would copy item 1 (a grouped item) to page 1 of a new document. I used the same script on Classic and QXP 4.1where it worked perfect, now I get a QXP error.:

The script :

tell document “HomeLib.qxd”
set tool mode to drag mode
set selection to null – in case something is already selected
set selected of generic box 1 of page i to true – selects whole group
end tell
set boxIndex to duplicate (current box of document “HomeLib.qxd”) to beginning of page 1 of document (modulName & “.qxd”)

The error message I receive is in danish, so I can’t paste it here, but it sums up to :
Couldn’t set the beginning of page 1 of document A.qxd to the current box of document HomeLib.qxd

Please advice if possible on how to accomplish this - from what I read in the dictionary, the command is the same, but something must have changed!

Cheers,
Mark

example:

set theDocOne to “testOne”
set theDocTwo to “testTwo”
tell application “QuarkXPress Passport”
tell document theDocOne
set selection to null
set selected of generic box 1 of page 1 to true
set inDupe to a reference to current box
end tell
set boxIndex to duplicate inDupe to beginning of page 1 of document theDocTwo
end tell