added function to disable home_dir_created flag