moved style_arr to the index file so it can be read first