Added the loops and functions for the /home/$USER/ folder cleanup.