Granting Permission on Databases and Schemas
Your script is assigning the user to the db_owner role.

All other permissions being applied are therefore redundant as this implies ALL of those other permissions.