light-cone generating script