Added possibility to change the target host