change hard coded default directory to home