First working version of plugin, some commands still not working