Fix to not use direct relative paths in powershell files used in ScriptFileResource....