updated build sript