Switch from sitecode to url and fix list
Fill langdata array with empty arrays by default
Update script, although its still not great...