set variable 'home_dir' for home directory