preparing template hotplugin