making multiple instances work on a single host