Added allowed_history_days parameter in config.yaml