Replaced hard coded home folder with variable