fixes #1. finds proper plugin path