Made some fixes to the offline file so that it runs.