added new update calc command

and made get attacker input script a little smarter + fixed a bug in it
with the logging