Made sure that the attribute files in attribute_event_pipe and attribute_trial_length_pipe lined up as they were supposed to. Also changed around how checking if the output directory already exists and creating a new one if necessary worked