Creating project packages

Hi,

I've created an application that generates project packages. However, I can't seem to fully replicate the result as generated from Studio.

For one, the project TM is not always included (I think mainly when the 'create new' option is chosen, but I have also seen it happen when 'use existing' is set). See also the open question here. Running a pretranslate batch task before creating the package makes the 'use existing' option work I think.

Another thing is that the Reports are not included in the packages, even though the options are set to recompute statistics and to include Reports:

Package contents:

Any tips on where to look for a solution or what I might be doing wrong would be greatly appreciated.

Lennart