updates generator to work with layout list