Dev cwilks1

I did have to serialize the cgsubmits, because if I didn't they both tried to create the temp directory. So fixing this will help.