Setting up the Smart Switch