Updated paintingPlugin, same as competitionSensing branch