Happy with this as a final version of the process_moderation script