moved hostname constant to config.py