added before script