add support to block IP ranges and environments