Made some changes to the arrays.

Affected arrays: $html and $settings