Added hostname configuration variable.