Hey JulloYagaml,
You can set a nodes script with
$Node.set_script(load("path/to/my/script.gd"))
As you can see from this, paths can be global as well as local.
You can also easyly copy files into your game using the Directory class.
Hope I was able to help.