Analysis script.