use environment variable for hostname