added light template and slides support