tune code for linking to the flowcell table