$columns (or $columnsA, apologies this is just a discrepancy between versions of the script I'm testing) is filled as I expect if I print the array, however when I try to print a single column as a string it says it is uninitialized - I'm really not sure why this might be.