Fixes to allow idocbuildtest to pass
updated built-in scripts to use new calling convention