Took out one for loop on tableExists method.
Various fixes for pipeline dependencies.