Do we need if statements here to run this only if ```sender=Document``` type thing?  @ingenieroariel comments?