add command resource