Modify IPaddress and position of command flags