add a static function to access processor selection from a Lua script