Changes for generalizing getting path to plugins