How is foreign DNA inserted into a bacteriophage? Curious because bacteriophages play a role in using CRISPR to modify genes. 

A more broad question is "how is foreign DNA inserted into a Genome sequence?"