regenerate using production settings