Updated how options are generated because the box was erased in firefox.