adds a user defined generator layout generator