Plugin code tested locally