Switching between Prof and Hanoi DB