Flynn is a program to fit small molecules in electron (or other) density. As well as high-quality ligand fitting, the flynn package includes a facility (writedict) to write high-quality refinement dictionaries suitable for refinement with such programs as refmac5[1,2] as well as a tool that can rotate crystallographic maps from one protein's reference frame to another (aligngrid).