Script to get list of array type