Corrected all timing sequence errors detected by script.