some cleanup in the python script
fixed bug where no extra robots case was not being handled properly