I don't get why you would want to do this. Adding money is easily done by the add_money console command?

Anyway, I would try to run the plain EB first to verify that indeed your change is causing the problem. Comment out the script (and other lines) and see if it works then. Narrow down the problem, basically.