Creating and assigning scope boxes