changed to use home dir instead of relative dir