added WEEKS_TO_KEEP configuration