You can get rid of the configPlugin function all together