Changes to script for ddns