Added TK flag check for slave installs