support build singleton app