Make RELATIVE URLS only when env var is set
Encode url when the tweet button is built