EZP-21913: Fixed usage of global in indexing script
Merge pull request #138 from ezsystems/fix/EZP-21913-global_usage_cli

EZP-21913: Fixed usage of global in indexing script