Fix before script.