completed queries/curves.hql, queries/channels.hql and etl/hive/merge_depths.py