added prefix and hostname