Mapping now in tab to array conversion
Array mapping uses first row of tab instead of hard coding