adds logging and fixes arma2net code