After generation hook