Oops

Re-add ip check (removed for testing purposes)