Adding PCA fix #2 Adding a new generic script for this