get rid of reporting parts, putting that in seperate script