Added preliminary ip address restriction