Updated this plugin for newer standards. It was archaic.