adding templated plugin directory
adjusting install prefix