Added debug statments. Changed default netmask to 24.