Fixed issue with auto build not working