Converted all functions utils/index to global