Got command line arguements to work & writing values to file. Something seems off about about rechecking avg_power