cleaned up main.m a bit and put in outputs for weekly report