added resource command