Fix deploy requirement sequence