added code to read plugin.ini file and removed commented out code