Re-adding IP check for testing