# Switching between BootTidal.hs files

**URL:** <https://uzu.lurk.org/t/switching-between-boottidal-hs-files/5133>\
**Category:** TidalCycles\
**Tags:** questions\
**Created:** [29 March 2024 11:44 UTC](https://uzu.lurk.org/t/switching-between-boottidal-hs-files/5133 "2024-03-29T11:44:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cleary](https://uzu.lurk.org/user_avatar/uzu.lurk.org/cleary/32/177_2.png) [@cleary](https://uzu.lurk.org/u/cleary)\
**Post date:** [3 April 2024 04:53 UTC](https://uzu.lurk.org/t/switching-between-boottidal-hs-files/5133/2 "2024-04-03T04:53:52Z")

</div>

You can setup different `*.hs` files to import when you need them - I like to keep my BootTidal.hs pretty vanilla then call the `:script <script>` loader for external files - example near the end of my BootTidal.hs:

```haskell
...
    setB = streamSetB tidal
:}

:script /home/bernie/.local/share/ansible-tidalcycles/scripts/mutable-instruments-ugens_parameters.hs
:script /home/bernie/.local/share/ansible-tidalcycles/scripts/grey_hole.hs
:script /home/bernie/source/livecode/global/function_helpers.hs
-- :script /home/bernie/source/tidal-sound-explorer/add_to_BootTidal.hs
:set prompt "cleary> "
:set prompt-cont ""
...

```

It's also possible to load them dynamically inside tidal, I'm not super familiar with this, but there's some info about it here:

> **[Importing a Custom Function File](https://uzu.lurk.org/t/importing-a-custom-function-file/1432/0)**
>
> Hi all! I've started to amass a bunch of custom functions and it's getting to be a chore to keep track of them. Is there a way to create a file that imports all my functions on tidal's startup to get around this?

---

_[View the full topic](https://uzu.lurk.org/t/switching-between-boottidal-hs-files/5133)._
