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
oh... i forgot i commented it out. i'll will update and commit