Add beforeSerial, so you can execute asynchronous functions before a stage begins and make it wait on a callback