The mkdir for the rec-directory is now inside a try clause, else the script b0rks. And the gridrec-call should only be one, not two lines, thus deleted the newline