Adds resource service
Adds a script which uses the resource service