Switch to plugininstall

Also dont need a tempfile any more!