Adjusts spacing on AWS namespace declaration. Makes network activation check into a method