Modified the script to throw conisistent data. There might be occassional problems though
Added a method to seperate data from code.
Now it ought to normalize the data before listing it for usage.