Added some more useful stuff to the scritp