Amended layout generator.
Editted confliction