updated plugin file with comments