Reset the working main