small changes to thesis and script gen