Added --CLI/--GUI option to the scripts

Added the option to have different parent directories for invoking the
scripts depending on whether they’re called from GUI or CLI. Also,
removed a redundant function in the GUI which nobody was calling
(executeInjections).
Added more files to .gitignore

Caution: Added Installer script too - need to change this.