Write out routine sub-indices