Added unique indexing for hc_link param to prevent duplication. Now going to work on finalizing primary process flow and working on secondary process flow