Corrections to unit battle plans
Added logging
Added script to wipe logs