Modified smart.json to correctly handle dependencies