Changed error Code to 404 when plugin cannot be found