added some aggragating scripts.