no longer need to change directory from within the JAGS command script file
changed so that the code creates a sub-folder for each iteration's data, then deletes the folder when not in use. should bypass problems with parallel computing.