How can I include the resources when creating a service

When creating a service I have included a number of scripts as resources, which I can open and use above the start-job part, but I can’t find how to use these resources as in the example below:

 $Imp = Get-Resource -Name 'Import.ps1'

 function OnStart() {

 Start-Job -Name Job1 -ScriptBlock {
   . .\Import.ps1