The problem is that the script set the "metadata" to empty but the .con files don't have the entry "metadata". so nothing will happend. I think it is better to contact @Merk and ask him what is to do.
maybe you can try to replace "result.metadata = {}" with "result.availability = {}" in the .con file.