Adding license
changed subnet and modified loop