Using config for lookback value rather than hard coded 300s