This change adds a separate config for the cleanup interval, and runs that cleanup from the main folder loop.