Thank you for this code, it really comes in handy.
unfortunately, i am not too savy using JS. and i was wondering what exactly i would write/change to have the users be put in there own folder within the current directory. For example, lets say i have everything in a folder named "site" and the users are scrambled within the folder along with the other pages. how do i put them in their own folder, called "users" for instance?