pick() would be better than if statement to obtain $root_home.