Moved hostname to env variable.