added ability for different regions to have different inactivity criteria. still need to write tests for it