Change every hard-coded mention of the server with the variable SERVER + the wanted resource.