started a few averaging scripts