Make major and minor version optional
Generate only when layout is specified (some people only want to dynamically generate file version)