Updated plugin to comply with new env arch