Update setup to properly include license and template discovery