made it possible to send different constants for different hosts (since it is possible to make a configuration for multiple hosts)