auto identifying of home directory was added