added kill resources and by package now uses the annotations