Modified change_OTA_URL for MAC cannot run $(date --date='2 days ago' +%s)