Use attr_accessor for script resource provider