Changed file loading and pipeline paths so that files can be found when ran as executable with pyinstaller