Messed with PCA to be more easily used on Eplex and locally