Added draft SQL to load cycles.