Set install_dir to a correct value for macOS. Thanks to @Ephil012 for pointing out this is needed.
Adds an addition file to read environment variables from when the webui.sh is run from macOS.