Added utf8_general_ci for the glance database (required)
Added a proper wait for the start script