added 'rep' to replicate folders
upload to folder issues