Added prod/dev env var switch. updated readme.