Add home dir and env vars to string subsitution