modernized & debugged TIP deployment