On Azure SQL Database, I create Ola scripts (stored procedures) on each user database and execute them in the context of each user database. Rest assured that if has no impact on defragmentation and statistics update. The results are the same. In fact, it is not good practice to create user objects on the master database.