Added the ML5 initializing sequence to the code