Adds ip generator and the sql generated