# Modify file after script starts

**URL:** https://discourse.julialang.org/t/modify-file-after-script-starts/69373
**Category:** General Usage
**Tags:** question
**Created:** [October 7, 2021, 2:02pm UTC](https://discourse.julialang.org/t/modify-file-after-script-starts/69373 "2021-10-07T14:02:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![marllos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marllos/32/205917_2.png) [@marllos](https://discourse.julialang.org/u/marllos)
#### Post date: [October 7, 2021, 2:02pm UTC](https://discourse.julialang.org/t/modify-file-after-script-starts/69373/1 "2021-10-07T14:02:22Z")

</div>

Hello everyone. I would like some clarification. I run a script that uses several files and takes 24 h. After this script starts, can I modify the files and make other runs, without interfering with the first run? I do this all the time!

---

<div class="post-metadata">

### Author: ![Jeff\_Emanuel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeff_emanuel/32/15440_2.png) [@Jeff\_Emanuel](https://discourse.julialang.org/u/Jeff_Emanuel)
#### Post date: [October 7, 2021, 2:09pm UTC](https://discourse.julialang.org/t/modify-file-after-script-starts/69373/2 "2021-10-07T14:09:46Z")

</div>

It depends at which point your other files are read. It’s safer to just make copies for your additional runs, or better yet, generalize the files so that you can specify different parameters for different runs and you don’t need to modify the code.

---

<div class="post-metadata">

### Author: ![marllos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marllos/32/205917_2.png) [@marllos](https://discourse.julialang.org/u/marllos)
#### Post date: [October 7, 2021, 4:21pm UTC](https://discourse.julialang.org/t/modify-file-after-script-starts/69373/3 "2021-10-07T16:21:32Z")

</div>

Ok, so if all the “include” have been included, the runs will be independent?

---

<div class="post-metadata">

### Author: ![Jeff\_Emanuel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeff_emanuel/32/15440_2.png) [@Jeff\_Emanuel](https://discourse.julialang.org/u/Jeff_Emanuel)
#### Post date: [October 7, 2021, 7:28pm UTC](https://discourse.julialang.org/t/modify-file-after-script-starts/69373/4 "2021-10-07T19:28:54Z")

</div>

Should be. I often change included files and the changes don’t affect the running code until they are included again.

---

<div class="post-metadata">

### Author: ![marllos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marllos/32/205917_2.png) [@marllos](https://discourse.julialang.org/u/marllos)
#### Post date: [October 7, 2021, 9:16pm UTC](https://discourse.julialang.org/t/modify-file-after-script-starts/69373/5 "2021-10-07T21:16:10Z")

</div>

Understood, thank you.
