sort out usage and allow a plugin argument