build sript fixed