chore(scripts): fixes rebuild