Added code for writing arrays that aren't static.
Adding ability to read from local array.