NOD01Script Spaces -> Tabs & updated code

As mentioned this was full of spaces, i have now tabified it! also cleaned up the script somewhat (well at least tried :P)