changed so paths not reliant of file location