Fix for inlineScript with script version.