changes in pdb output  (have the beads written to the pdb) as well as the macro