Modified ip_swap.sh to support call flags instead of just prompts. -d for DHCP, -p for prompt, and -s for static IP.