Change plugin to use resources.