updated get_attacker_input script

and submit_calc

this is much closer to my design than the prior scripts were