add auto build support