Added $defaultDoodlesCorePath = $modx->getOption('core_path').'components/doodles/';