Move the before scripts to one big before script