Fixed issue with loading relative folder paths.