Add proper generate funtion.
New workflow works.