Removed all plotting functionalities from generate script.