Hi Evan

I’d suggest reading this for a good overview of what it’s doing: https://stackoverflow.com/a/14203146/746692
In short, 21 tells the script what flag it is processing, then 22 assigns the values from the flag to a variable called SITES.

Just looking quickly – to handle your `sites` folder, you probably just need a little addition after line 82. On 83 you could try `[ -d sites ] && cd sites` – this should move you into the `sites` folder if it exists.