Updated plugin creation