Update setup to properly include license and template discovery
fix syntax error in setup