fixed a number of errors, added some header information, removed depricated scripts