Updated plugin script for v1.0.0