add a commandline argument to support only rendering flat or tree profiles