Make it take template from appliance object