reorder scripts and handle speak click