form_from_xml: HotFix for scripts