add resource command