Use before script.