Jeff L I editied template_writer to correct a bed file option. I also added command line options to matt's script under jeff_edit_tri_driver