format and add plugins