Change type of "global" to array

"globals" should be an array of strings