before script to before install