Properly evaluating plugin's location