Added beep when script completes
Changing categorisation algorithm - not yet function correctly!
Added odbcClose
A little tidying