Import cycle_code from plans