Having this approach makes it less complicated to those who are new to
Gogh and let the script with creating profile option being optional
instead of standard.
I am unable to use these scripts on NixOS, since the bash interpreter is
in a different location to more conventional distros. Currently is is
/nix/store/jlg2n512jxnr1lxs72r1frxqdsf7jpdj-system-path/bin/bash on my
machine.
This patch uses env to find the correct path to the interpreter.