before script added.