Corrected plugin directory creation