Corrected wrong version of script being used for plugin