implemented aggregate stats script; general cleanup of files