if ( ! defined('VGR_PATH'))
{
	$path = $modx->getOption('VGR_PATH', NULL, $modx->getOption('assets_path') . 'elements/snippets/Voyager/');
  	define('VGR_PATH', $path);
}

require_once VGR_PATH . 'helpers.php';
require_once VGR_PATH . 'voyager.class.php';
return Voyager::getDataFromModxScriptProps($modx, $scriptProperties);