Added generate config after install and restore of the mod