I created a routine that create sheets, set value for the sheet name and number, also add a views aligned with the sheet.
Everything worked fine as I planned, but when trying to run more than one time, all the views that were created before are automatically overwrite for the new inputs from the second run.