# Why isn't the current script's dir in the LOAD\_PATH?

**URL:** <https://discourse.julialang.org/t/why-isnt-the-current-scripts-dir-in-the-load-path/2536>\
**Category:** New to Julia\
**Created:** [March 8, 2017, 7:57am UTC](https://discourse.julialang.org/t/why-isnt-the-current-scripts-dir-in-the-load-path/2536 "2017-03-08T07:57:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mark/32/5216_2.png) [@mark](https://discourse.julialang.org/u/mark)\
**Post date:** [March 8, 2017, 7:57am UTC](https://discourse.julialang.org/t/why-isnt-the-current-scripts-dir-in-the-load-path/2536/1 "2017-03-08T07:57:26Z")

</div>

I have a script consisting of app.jl and Worker.jl. The Worker module’s functions are used in a remote\_do() call from app.jl.  
However, to make this work I have to begin app.jl with:

```julia
push!(LOAD_PATH, dirname(PROGRAM_FILE))
addprocs()

```

The first is to add app.jl’s path to the LOAD\_PATH – I don’t really understand why it isn’t added by default?

(The second is to make the app use all the available processors.)
