Fix waterfall script dependencies.