remove before script entry