Handling createbox tag