Updated plugin to do tag modifications