Added a configureable hostname keyword

This should fix #1