App closure and scales.json