adding resource commande