added some smart to deploy