Code for home directory added