improving select mode to create default dir
added the posibility of using the home dir