scripts:checkTiles, scripts:checkIds