added error handling for shape generation. deleted pkls.