added defines for the global and local work space variables and the
kernel path.