Check point of code clean up and adding logging
Updated logging ; Add comments ; Add parameter to set how far back to query for triggers that have been updated