Updated old History scripts and added a new HistoryProcedure script

-Updated counters for HistoryFamily and HistorySocial scripts
-Added HistoryProcedure script
-Added logic to look for reference# when they exist