added configurable-endpoint
fixed env var generation
Merge pull request #2 from sequenceiq/configurable-endpoint

added configurable-endpoint