Really, weird... You are correct, the coeffs and config directories failed to generate. The only thing I changed was a few pieces of the whole code block, so I don't know what happened and why it occured multiple times. The only way I could get mkdir to work was by executing it in its own line...