Fix a bug and add execution for updating DDNS