Changed the way of getting plugin name and version in onEnable() and onDisable()