added includeScript and includeResource
updated to use includeResource and includeScript