Created the function for backup directories.
Commented the global variables.