switch between the sandbox and real amt

Though I cannot access to the real amt, I have tested that the switch worked when I want to use the sandbox. 
Yes, it should be true/false. I'll change it.