Adding functionality to Invneotry plugin